xen/arm: p2m: Rename p2m_valid, p2m_table, p2m_mapping and p2m_is_superpage
authorJulien Grall <julien.grall@arm.com>
Fri, 30 Jun 2017 15:54:26 +0000 (16:54 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 30 Jun 2017 20:13:01 +0000 (13:13 -0700)
commitd77def6830b86bac25a69542339a08967fab9fe9
treeb49e8225fa165a10542a4b4f265a51336050b73f
parent9d590f56a62208da5a6fb695ae406a0ed2322ea2
xen/arm: p2m: Rename p2m_valid, p2m_table, p2m_mapping and p2m_is_superpage

The helpers p2m_valid, p2m_table, p2m_mapping and p2m_is_superpage are
not specific to the stage-2 translation tables. They can also work on
any LPAE translation tables. So rename then to lpae_* and use pte.walk
to look for the value of the field.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c